var express = require('express');

function define( key, value ) {
    module.exports[key] = value;
}
define( 'user',
    "USER_"//用户信息KEY
);
define( 'userTribe',
    "USER_TRIBE_"//用户部落KEY
);
define( 'tribeBlack',
    "TRIBE_BLACK_"//部落黑名单KEY
);
define( 'tribeMember',
    "TRIBE_MEMBER_"//部落成员KEY
);
define( 'tribeAdmin',
    "TRIBE_ADMIN_"//部落管理员KEY
);
define( 'tribeMaster',
    "TRIBE_MASTER_"//部落群主KEY
);

define( 'userTribe',
    "USER_TRIBE_"//我的部落
);


define( 'tribe',
    "TRIBE_"//部落信息KEY
);
define("tribeFeild", {
    'id' : 'id',
    'name' : 'name',
    'tribeAvator'  : 'tribeAvator',
    'memberNum'  : 'memberNum',
    'postNum'  : 'postNum',
    'isTop'  : 'isTop',
    'userType':'userType',                  //自创
    'introduction':'introduction'   //部落公告
});
define( 'msg',
    "MSG_"//消息
);define( 'userTribeTop',
    "USER_TRIBE_TOP_"//置顶
);define( 'userTribeSort',
    "USER_TRIBE_SORT_"//排序
);define( 'userTribeType',
    "USER_TRIBE_Type_"//角色
);

define( 'userTribeMonthScore',
    "USER_TRIBE_Month_Score_"//近一个月积分
);

define( 'userTribeWeekScore',
    "USER_TRIBE_Week_Score_"//近一周积分
);

define( 'userTribeDayScore',
    "USER_TRIBE_Day_Score_"//近一周积分
);


define( 'TribeMonthScore',
    "TRIBE_Month_Score_"//近一个月积分
);

define( 'TribeWeekScore',
    "TRIBE_Week_Score_"//近一周积分
);

define( 'TribeDayScore',
    "TRIBE_Day_Score_"//近一周积分
);


define("@TribeMember",
    "TribeMember:"
);


define('livePraise',{
    'livePraise':'LIVE_PRAISE_',
    'livePraiseNum':100
});